// run: $exec
#include <iostream>
#include <ctime>
#include <cstdlib>

int main()
{
	std::srand(std::time(0));
	int n = 5, up = 20;
	int k = rand() % up;
	std::cout << k << ' ' << n << '\n';
	for (int i = 0; i < n; i++)
		std::cout << rand() % up + 1 << ' ';
	std::cout << '\n';
}

